import { createApp } from './node_modules/vue/dist/vue.esm-bundler.js'
import App from './App.vue'
import axios from 'axios'
import router from './router'

const app = createApp(App)

// 配置axios
app.config.globalProperties.$http = axios.create({
  baseURL: 'http://localhost:8080'
})

app.use(router)
app.mount('#app')